return this._iconBin;
},
- notify: function(notification) {
+ pushNotification: function(notification) {
if (this.notification) {
this.notification.disconnect(this._notificationClickedId);
this.notification.disconnect(this._notificationDestroyedId);
}
+ // FIXME: Right now, we don't save multiple notifications.
this.notification = notification;
this._notificationClickedId = notification.connect('clicked', Lang.bind(this, this.open));
this._notificationRemoved();
}
}));
+ },
+ notify: function(notification) {
+ this.pushNotification(notification);
this.emit('notify', notification);
},